<%@ page language="java" contentType="text/html; charset=utf-8" import="com.bjsxt.shopping.user.*"
    pageEncoding="utf-8"%>

<%
response.setContentType("text/xml");
response.setHeader("Cache-Control", "no-store"); //HTTP1.1
response.setHeader("Pragma", "no-cache"); //HTTP1.0
response.setDateHeader("Expires", 0); //prevents catching at proxy server
System.out.println(request.getParameter("id"));
//check the database

	String loginname = request.getParameter("id");
	System.out.println(loginname);
	boolean notexistbl = User.checkUserTransorNotExist(loginname);
	System.out.println(notexistbl);
	if (notexistbl){
		response.getWriter().write("<msg>valid</msg>");
	}else{
		response.getWriter().write("<msg>invalid</msg>");
	}
		
	
%>
